package com.ruoyi.cderp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 销售参数设置对象 tbl_sale_config
 *
 * @author ruoyi
 * @date 2025-02-19
 */
public class TblSaleConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 销售出库单是否关联销售订单 */
    @Excel(name = "销售出库单是否关联销售订单")
    private Integer outStockRequireSale;

    /** 销售出库单是否多次关联销售订单 */
    @Excel(name = "销售出库单是否多次关联销售订单")
    private Integer outStockMultipleRelateSale;

    /** 销售退货单是否关联销售出库单 */
    @Excel(name = "销售退货单是否关联销售出库单")
    private Integer saleReturnRequireOutStock;

    /** 销售退货单是否多次关联销售出库单 */
    @Excel(name = "销售退货单是否多次关联销售出库单")
    private Integer saleReturnMultipleRelateOutStock;

    /** 销售出库单是否需要物流单 */
    @Excel(name = "销售出库单是否需要物流单")
    private Integer outStockRequireLogistics;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setOutStockRequireSale(Integer outStockRequireSale)
    {
        this.outStockRequireSale = outStockRequireSale;
    }

    public Integer getOutStockRequireSale()
    {
        return outStockRequireSale;
    }
    public void setOutStockMultipleRelateSale(Integer outStockMultipleRelateSale)
    {
        this.outStockMultipleRelateSale = outStockMultipleRelateSale;
    }

    public Integer getOutStockMultipleRelateSale()
    {
        return outStockMultipleRelateSale;
    }
    public void setSaleReturnRequireOutStock(Integer saleReturnRequireOutStock)
    {
        this.saleReturnRequireOutStock = saleReturnRequireOutStock;
    }

    public Integer getSaleReturnRequireOutStock()
    {
        return saleReturnRequireOutStock;
    }
    public void setSaleReturnMultipleRelateOutStock(Integer saleReturnMultipleRelateOutStock)
    {
        this.saleReturnMultipleRelateOutStock = saleReturnMultipleRelateOutStock;
    }

    public Integer getSaleReturnMultipleRelateOutStock()
    {
        return saleReturnMultipleRelateOutStock;
    }
    public void setOutStockRequireLogistics(Integer outStockRequireLogistics)
    {
        this.outStockRequireLogistics = outStockRequireLogistics;
    }

    public Integer getOutStockRequireLogistics()
    {
        return outStockRequireLogistics;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("outStockRequireSale", getOutStockRequireSale())
                .append("outStockMultipleRelateSale", getOutStockMultipleRelateSale())
                .append("saleReturnRequireOutStock", getSaleReturnRequireOutStock())
                .append("saleReturnMultipleRelateOutStock", getSaleReturnMultipleRelateOutStock())
                .append("outStockRequireLogistics", getOutStockRequireLogistics())
                .toString();
    }
}
